RankMath\Frontend\Breadcrumbs C

Total Complexity 116
Dependencies 3
Dependents 3
Total lines 626
Lines of code 338
Logical lines of code 169
Comment lines 201
Methods 34
Properties 3

Methods 34

Method Rating Maintainability Complexity Lines of code
get_breadcrumb()
A
46 10 36
add_crumbs_singular()
A
54 10 18
add_crumbs_date()
S
61 7 11
generate()
S
50 5 30
add_post_ancestors()
S
58 6 15
can_add_blog()
S
64 6 9
prepend_shop_page()
S
65 6 7
maybe_add_term_ancestors()
S
60 5 13
add_crumbs_shop()
S
60 5 12
get_breadcrumb_title()
S
62 5 11
can_add_term_ancestors()
S
69 5 6
can_generate()
S
64 5 10
add_crumbs_post_type_archive()
S
61 4 12
maybe_add_page_crumb()
S
62 4 10
add_crumbs_product()
S
62 3 11
maybe_add_primary_term()
S
65 3 8
maybe_add_blog()
S
67 3 7
get()
S
67 3 8
__construct()
S
52 1 25
add_crumbs_category()
S
65 2 9
add_crumbs_tax()
S
64 2 9
is_using_shop_base()
S
70 2 5
get_crumbs()
S
71 2 6
maybe_add_home_crumb()
S
72 2 5
add_crumbs_tag()
S
71 1 5
add_crumbs_search()
S
77 1 3
add_crumbs_author()
S
71 1 5
add_crumbs_product_category()
S
69 1 6
add_crumbs_home()
S
79 1 3
__toString()
S
81 1 3
add_crumb()
S
69 1 7
add_crumbs_attachment()
S
72 1 5
add_crumbs_product_tag()
S
71 1 5
add_crumbs_404()
S
80 1 3